.width-max {
  width: 100%;
}

.index-container {
.WeChat {
  text-align: center;
  color: #3E97FC;
  line-height: 40px;
    a {
        color: #3E97FC;
    }
    .icon_service {
        font-weight: 700;
        margin-right: 2px;
    }
  em {
    font-style: normal;
    text-decoration: underline;
  }
}

.showstyleBtn {
  background: linear-gradient(90deg, #ff6034, #ee0a24);
  width: 200px;
  margin: auto;
  border-radius: 50px;
  text-align: center;
  padding: 8px;
  color: #fff;
  font-weight: 500;
}

.loadingstyle {
  background: none;
}

.mainitem {

  .van-overlay {
    z-index: 999 !important;
    background-color: rgba(0, 0, 0, .5) !important;

    .wrappermap {
      width: 330px;
      height: 155px;
      background: rgba(255, 255, 255, 1);
      border-radius: 14px;
      position: absolute;
      padding: 15px 12px 15px;
      box-sizing: border-box;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      margin: auto;

      .wrapper-maptop {
        a {
            display: flex;
            align-items: center;
            justify-content: center;
            color: #5fed70;
            font-weight: 700;
            margin-top: 15px;
            .icon_service {
                font-size: 20px;
                margin-right: 4px;
                font-weight: 700
            }
        }
        div {
          text-align: center;
          line-height: 30px;
          font-size: 16px;

          &.tips {
            font-size: 18px;
            padding: 4px;
          }
        }
      }

      .wrapper-mapbottom {
        img {
          width: 40px;
          height: 40px;
          margin: auto;
          display: block;
        }
      }
    }

    .wrapper {
      width: 330px;
      background: rgba(255, 255, 255, 1);
      border-radius: 14px;
      position: absolute;
      padding: 25px 12px 15px;
      box-sizing: border-box;
      top: 200px;
      left: 0;
      right: 0;
      margin: auto;

      .wrapper-top {
        display: flex;
        justify-content: space-between;
        margin-bottom: 16px;

        .wrapper-left {
          margin-right: 8px;

          img {
            width: 27px;
            height: 27px;
          }
        }

        .wrapper-right {
          font-size: 18px;
          font-weight: 400;
          color: rgba(51, 51, 51, 1);
          line-height: 25px;
          h3{
            margin: 0;
            font-size: 16px;
          }
          p{
            margin: 5px;
            font-size: 12px;
          }
        }
      }

      .wrapper-bottom {
        display: flex;
        justify-content: space-between;
        text-align: center;
        font-size: 16px;
        line-height: 22px;
        padding: 0 40px;

        .watchorder {
          color: #007aff;
        }
      }
    }
  }

  .group-container {
    box-sizing: border-box;
    padding-bottom: 20px;
    box-sizing: border-box;

    .guidelink {
      padding: 15px 24px 0;
      color: #3E97FC;
      text-align: right;
    }


    .main {
      .title {
        padding: 10px 15px;
        font-size: 16px;
        font-weight: 500;
        color: rgba(57, 57, 57, 1);
        line-height: 22px;
        margin-bottom: 10px;
      }

      .cakelist {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0 15px;

        li {
          flex: 1;
          width: 161px;
          min-width: 161px; // 加入这两个后每个item的宽度就生效了
          max-width: 161px; // 加入这两个后每个item的宽度就生效了
          height: 200px;
          background: rgba(255, 255, 255, 1);
          box-shadow: 0px 2px 4px 0px rgba(209, 209, 209, 0.5), 0px -2px 4px 0px rgba(224, 224, 224, 0.5);
          border-radius: 6px;

          margin-bottom: 22px;
          position: relative;

          &.active {
            background: rgba(252, 214, 0,0.6);
            border: 1px solid rgba(252, 214, 0,1);
          }
          .Unselected {
            background-size: 30px 30px;
            width: 30px;
            height: 30px;
            position: absolute;
            right: 0;
            top: 0;

            &.active {

              background: url(https://i.loli.net/2020/06/08/ozuaD6bnwRkT23O.png) no-repeat;
              background-size: 30px 30px;
              width: 30px;
              height: 30px;
              position: absolute;
              right: 0;
              top: 0;
            }
          }

          .cakeimg {
            width: 161px;
            height: 147px;
            display: block;
          }

          .cakename {
            padding: 10px 12px;
            height: 30px;
            box-sizing: border-box;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box; //作为弹性伸缩盒子模型显示。
            -webkit-box-orient: vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列
            -webkit-line-clamp: 2; //显示的行
          }
        }
      }
    }

    .van-cell.required {
      .van-cell__title {
        display: flex;
        justify-content: space-between;

        span {
          display: block;
          width: 140px;
        }

        span:before {
          content: "*";
          color: #f56c6c;
          margin-right: 4px;
        }
      }
    }

    .van-cell.norequired {
      .van-cell__title {
        display: flex;
        justify-content: space-between;

        span {
          display: block;
          width: 140px;
        }

        span:before {
          content: "*";
          color: #FFFFFF;
          margin-right: 4px;
        }
      }
    }


    .van-field__word-limit {
      color: #969799
    }

    .photosmain {
      .title {
        padding: 15px;
        font-size: 14px;
        font-weight: 400;
        color: rgba(57, 57, 57, 1);
        line-height: 20px;

        em {
          color: #f56c6c;
          margin-right: 4px;
        }
      }

      .photos {
        text-align: center;
        display: block;
        margin-bottom: 30px;
        height: 80px;
        position: relative;

        .activeImg {
          left: 0;
          right: 0;
          width: 80px;
          height: 80px;
          display: block;
          text-align: center;
          line-height: 80px !important;
          font-size: 20px !important;
          border-radius: 2px;
        }

        .activeImgs {
          left: 0;
          right: 0;
          width: 80px;
          height: 80px;
          display: block;
          text-align: center;
          line-height: 80px !important;
          font-size: 20px !important;
          border-radius: 2px;
          position: absolute;
          margin: auto;
        }

        .loading {
          width: 80px;
          height: 80px;
          border: 1px dashed #eeeeee;
          position: absolute;
          margin: auto;
          left: 0;
          right: 0;
          top: 0;
          bottom: 0;
          line-height: 80px;
        }
      }


    }

    .mapbox {
      // width: 345px;
      height: 177px;
      border: 1px solid rgba(229, 229, 229, 1);
      margin: auto;

      .map-main {
        .van-cell {
          padding: 8px 5px !important;
        }

        border-bottom: 1px solid rgba(229, 229, 229, 1);
        // display:flex
      }
    }

    .submit {
      width: 317px;
      height: 35px;
      line-height: 35px;
      font-size: 16px;
      color: rgba(41, 41, 41, 1);
      background: rgba(252, 214, 0, 1);
      border-radius: 6px;
      margin: 0 auto;
      text-align: center;
    }
  }

  .General-container {
    .index-container {
      box-sizing: border-box;
      padding-bottom: 20px;
      box-sizing: border-box;

      .guidelink {
        padding: 15px 24px 0;
        color: #3E97FC;
        text-align: right;
      }

      .photosmain {
        .title {
          padding: 15px;
          font-size: 14px;
          font-weight: 400;
          color: rgba(57, 57, 57, 1);

          line-height: 20px;

          em {
            color: #f56c6c;
            margin-right: 4px;
          }
        }

        .photos {
          text-align: center;
          display: block;
          margin-bottom: 30px;
          height: 80px;
          position: relative;

          .activeImg {
            left: 0;
            right: 0;
            width: 80px;
            height: 80px;
            display: block;
            text-align: center;
            line-height: 80px !important;
            font-size: 20px !important;
            border-radius: 2px;
          }

          .activeImgs {
            left: 0;
            right: 0;
            width: 80px;
            height: 80px;
            display: block;
            text-align: center;
            line-height: 80px !important;
            font-size: 20px !important;
            border-radius: 2px;
            position: absolute;
            margin: auto;
          }

          .loading {
            width: 80px;
            height: 80px;
            border: 1px dashed #eeeeee;
            position: absolute;
            margin: auto;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            line-height: 80px;
          }
        }
      }

      .submit {
        width: 317px;
        height: 35px;
        line-height: 35px;
        font-size: 16px;
        color: rgba(41, 41, 41, 1);
        background: rgba(252, 214, 0, 1);
        border-radius: 6px;
        margin: 0 auto;
        text-align: center;
      }

      .odercake {
        padding: 15px;

        .odercake-item {
          width: 161px;
          min-width: 161px; // 加入这两个后每个item的宽度就生效了
          max-width: 161px; // 加入这两个后每个item的宽度就生效了
          height: 200px;
          background: rgba(255, 255, 255, 1);
          box-shadow: 0px 2px 4px 0px rgba(209, 209, 209, 0.5), 0px -2px 4px 0px rgba(224, 224, 224, 0.5);
          border-radius: 6px;
          overflow: hidden;
          margin-bottom: 22px;

          .cakeimg {
            width: 161px;
            height: 147px;
            display: block;
          }

          .cakename {
            padding: 6px 12px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box; //作为弹性伸缩盒子模型显示。
            -webkit-box-orient: vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列
            -webkit-line-clamp: 2; //显示的行
            height: 30px;
          }
        }
      }

      .main {
        .title {
          // padding: 10px 15px;
          font-size: 16px;
          font-weight: 500;
          color: rgba(57, 57, 57, 1);
          line-height: 22px;
          margin-bottom: 10px;
        }
      }

      .van-cell.required {
        .van-cell__title {
          display: flex;
          justify-content: space-between;

          span {
            display: block;
            width: 140px;
          }

          span:before {
            content: "*";
            color: #f56c6c;
            margin-right: 4px;
          }
        }
      }

      .van-cell.norequired {
        .van-cell__title {
          display: flex;
          justify-content: space-between;

          span {
            display: block;
            width: 140px;
          }

          span:before {
            content: "*";
            color: #FFFFFF;
            margin-right: 4px;
          }
        }
      }

      .line {
        height: 6px;
        background: #e6e6e6;
      }

      .cakeStyle {
        padding: 15px;

        .titlestyle {
          font-size: 14px;
          color: #1890ff;
          border-left: 5px solid #007aff;
          padding-left: 8px;
        }
        .sold_out {
            font-size: 12px;
            color: #ccc;
            margin: 0;
            text-align: center;
        }

        .cakelistgen {
          display: flex;

          display: -webkit-flex;

          // justify-content: space-between;

          // -webkit-justify-content: space-between;

          align-items: center;
          -webkit-flex-wrap: wrap;
          -moz-flex-wrap: wrap;
          -ms-flex-wrap: wrap;
          -o-flex-wrap: wrap;
          flex-wrap: wrap;
          // min-height: 0;
          // max-height: 500px;
          // overflow: hidden;
          // overflow-y: scroll;
          padding: 15px 0;
          li {
            display: inline-block;
            width: 33.3%;
            min-width: 100px; // 加入这两个后每个item的宽度就生效了
            max-width: 100px; // 加入这两个后每个item的宽度就生效了
            background: rgba(255, 255, 255, 1);
            box-shadow: 0px 2px 4px 0px rgba(209, 209, 209, 0.5), 0px -2px 4px 0px rgba(224, 224, 224, 0.5);
            border-radius: 6px;
            margin-bottom: 22px;
            position: relative;
            margin: 6px;
            .cakeimg {
              width: 100%;
              height: 100px;
              display: block;
            }

            .Unselected {
              background-size: 30px 30px;
              width: 30px;
              height: 30px;
              position: absolute;
              right: 0;
              top: 0;

              &.active {
                background: url(https://i.loli.net/2020/06/08/ozuaD6bnwRkT23O.png) no-repeat;
                background-size: 30px 30px;
                width: 30px;
                height: 30px;
                position: absolute;
                right: 0;
                top: 0;
              }
            }

            .cakename {
              padding: 4px 12px;
              overflow: hidden;
              text-overflow: ellipsis;
              display: -webkit-box; //作为弹性伸缩盒子模型显示。
              -webkit-box-orient: vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列
              -webkit-line-clamp: 2; //显示的行
              line-height: 24px;
              // height: 32px;
            }

            &.active {
              background: rgba(252, 214, 0,0.6);
              border: 1px solid rgba(252, 214, 0,1);
            }
          }
        }
      }
      .addMore{
        display: flex;
        justify-content: center;
        margin-bottom:10px;
        .van-button{
          color: rgba(41, 41, 41, 1) !important;
          font-size: 16px;
          width: 317px;
          height: 35px;
          border-radius: 6px;
        }
      }
      .nextstep {
        left: 0;
        right: 0;
        width: 317px;
        height: 35px;
        line-height: 35px;
        font-size: 16px;
        color: rgba(41, 41, 41, 1);
        background: rgba(252, 214, 0, 1);
        border-radius: 6px;
        margin: 0 auto;
        text-align: center;
      }
    }
  }
}

.mainitemabnormal {
  .van-overlay {
    z-index: 999 !important;
    background-color: rgba(0, 0, 0, .5) !important;

    .wrappermap {
      width: 330px;
      height: 155px;
      background: rgba(255, 255, 255, 1);
      border-radius: 14px;
      position: absolute;
      padding: 15px 12px 15px;
      box-sizing: border-box;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      margin: auto;

      .wrapper-maptop {
        a {
            display: flex;
            align-items: center;
            justify-content: center;
            color: #5fed70;
            font-weight: 700;
            margin-top: 15px;
            .icon_service {
                font-size: 20px;
                margin-right: 4px;
                font-weight: 700
            }
        }
        div {
          text-align: center;
          line-height: 30px;
          font-size: 16px;

          &.tips {
            font-size: 18px;
            padding: 4px;

          }
        }
      }

      .wrapper-mapbottom {
        img {
          width: 40px;
          height: 40px;
          margin: auto;
          display: block;
        }
      }
    }
  }
}

.select-list {
  height: 200px;
  min-height: 200px;
  max-height: 300px;
  overflow-y: scroll;
  padding: 20px 16px 0;

  .van-radio {
    margin-bottom: 15px;
  }
}

.address {
  height: 60px;
  padding: 16px 16px 20px;

  .addressNodata {
    text-align: center;
  }

  .van-radio {
    margin-bottom: 15px;
  }
}
}
